<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业7</title>
</head>
<body>
<script>
    const Manager = {
        name: "项目经理",
        id: 123,
        salary: 15000,
        bonus: 6000,
        work: function () {
            console.log("工号为" + this.id + "基本工资为" + this.salary + "奖金为" + this.bonus + "的" + this.name + "正在努力的做着管理工作,分配任务,检查员工提交上来的代码.....")
        }
    };
    const Coder = {
        name: "程序员",
        id: 123,
        salary: 10000,
        work: function () {
            console.log("工号为" + this.id + "基本工资为" + this.salary + "的" + this.name + "正在努力的写着代码......");
        }
    };
    Manager.work();
    Coder.work();
</script>
</body>
</html>